package org.lanqiao.tjut.control;

import java.util.List;

import org.lanqiao.tjut.bean.Student;

public class TeacherService {

	private List<Student> lstStu;

	/**
	 * control层，不进行AOP配置
	 */
	public void printStuInfo() {
		if (lstStu != null && lstStu.size() > 0) {
			System.out.println("学生信息如下：");
			for (Student student : lstStu) {
				System.out.println(student.toString());
			}
		}
	}

	public List<Student> getLstStu() {
		return lstStu;
	}

	public void setLstStu(List<Student> lstStu) {
		this.lstStu = lstStu;
	}

}
